<?php  $this->load->view('admin/tab/link_bar');?>
<form action="<?php echo site_url('admin/tab/save');?>" method="post" name="frmTab" enctype="multipart/form-data">
	<div class="box_function">
		<table width="747" border="0" cellpadding="0" cellspacing="0" class="listproduct" id="listproduct">
	<tr>
		<td colspan="2" style="padding:5px">
<h1>
<?php //echo $legend_text?>
</h1>
<?php echo $error_message?>

		</td>
	 </tr>
				
		<tr>
			<td style="padding:5px"><?php echo lang('vi_name');?></td>
			<td>
				<input size="35" name="txtViName" value="<?php echo $vi_name;?>" type="text"><span class="red">*</span>
			</td>
		</tr>
		
		<tr>
			<td style="padding:5px"><?php echo lang('en_name');?></td>
			<td>
				<input size="35" name="txtEnName" value="<?php echo $en_name;?>" type="text"><span class="red">*</span>
			</td>
		</tr>
		
		<tr>
			<td style="padding:5px">Control</td>
			<td>
				<input size="35" name="txtControl" id="txtControl" value="<?php echo  $class_name;?>" type="text"><span class="red">*</span>
			</td>
		</tr>
		
		<tr>
			<td style="padding:5px">Parent</td>
			<td>
				<?php echo $ddlParent?>
			</td>
		</tr>
		
		<tr>
			<td style="padding:5px">Icon</td>
			<td>
				<input type="file" name="file" id="file"/>
			</td>
		</tr>
		
		<tr>
			<td style="padding:5px"></td>
			<td>
				<span class="red"><?php echo lang('the_item_are_mark_are_required')?></span>
			</td>
		</tr>
		
		<tr>
			<td></td>
			<td>
				<input value="<?php echo lang('save')?>" name="btSave" class="button" type="submit">
			</td>
		</tr>
		
	</table>
	</div>
	<input type="hidden" name="txtID" id="txtID" value="<?php echo $id?>" />
</form>